package File;

import java.io.IOException;
import java.util.Scanner;

import java.io.File;
public class Dome3 {
    public static void main(String[] args) throws IOException {
        Scanner scanner = new Scanner(System.in);
        File f = new File("./test1.txt");
        f.createNewFile();
        f.delete();//直接删除
        //f.deleteOnExit();//程序终止后删除
        //阻塞程序
        scanner.next();
        System.out.println(f.exists());
    }
}
